<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Recolors image</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="imagick.readimagefile.html">Imagick::readImageFile</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="imagick.reducenoiseimage.html">Imagick::reduceNoiseImage</a></div>
 <div class="up"><a href="class.imagick.html">Imagick</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="imagick.recolorimage" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">Imagick::recolorImage</h1>
  <p class="verinfo">(No version information available, might only be in Git)</p><p class="refpurpose"><span class="refname">Imagick::recolorImage</span> &mdash; <span class="dc-title">Recolors image</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-imagick.recolorimage-description">
  <h3 class="title">说明</h3>
  <div class="methodsynopsis dc-description">
   <span class="type">bool</span> <span class="methodname"><strong>Imagick::recolorImage</strong></span>
    ( <span class="methodparam"><span class="type">array</span> <code class="parameter">$matrix</code></span>
   )</div>


  <p class="para rdfs-comment">
   Translate, scale, shear, or rotate image colors. This method supports variable sized matrices but normally
   5x5 matrix is used for RGBA and 6x6 is used for CMYK. The last row should contain the normalized values.
   此方法在Imagick基于ImageMagick 6.3.6以上版本编译时可用。
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-imagick.recolorimage-parameters">
  <h3 class="title">参数</h3>
  <p class="para">
   <dl>

    
     <dt>
<em><code class="parameter">matrix</code></em></dt>

     <dd>

      <p class="para">
       The matrix containing the color values
      </p>
     </dd>

    
   </dl>

  </p>

 </div>

 <div class="refsect1 returnvalues" id="refsect1-imagick.recolorimage-returnvalues">
  <h3 class="title">返回值</h3>
  <p class="para">
   成功时返回 <strong><code>TRUE</code></strong>。
  </p>
 </div>


 <div class="refsect1 seealso" id="refsect1-imagick.recolorimage-seealso">
  <h3 class="title">参见</h3>
  <p class="para">
   <ul class="simplelist">
    <li class="member"><span class="function"><a href="imagick.displayimage.html" class="function" rel="rdfs-seeAlso">Imagick::displayImage()</a> - Displays an image</span></li>
   </ul>
  </p>
 </div>


</div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="imagick.readimagefile.html">Imagick::readImageFile</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="imagick.reducenoiseimage.html">Imagick::reduceNoiseImage</a></div>
 <div class="up"><a href="class.imagick.html">Imagick</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>
